package com.wish.g01.base.dto;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
/*账单类型*/
public enum ItemType {
    WEIYUEJIN("违约金",1),
    YAJIN("押金",2),
    ZUJIN("租金",3),
    lENGSHUI("冷水",4),
    ZHONGSHUI("中水",5),
    RESHUI("热水",6),
    DIANBIAO("电",7),
    MEIRANQI("燃气/煤气",8),
    BAOJIEFEI("保洁费",9),
    WEIXIUFEI("维修费",10),
    PEICHANGFEI("赔偿费",11),
    ZHUANGXIUFEI("装修费",12),
    PEISONGFEI("配送费",13),
    KUANDAIFEI("宽带费",14),
    WEISHENGFEI("卫生费",15),
    YOUXIANFEI("有线电视费",16),
    NET("上网费", 17),
    WUYEFEI("物业费", 18),
    JIEYUEJIESUAN("解约结算", 90),
    QITAFEIYONG("其他费用",99);

    ItemType(String name, int index) {
        this.name = name;
        this.index = index;
    }

    @JsonValue
    private String name;
    @EnumValue
    private int index;


    public String getName() {
        return name;
    }

    public int getIndex() {
        return index;
    }
}
